package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户简历对象 sys_reusme
 * 
 * @author ruoyi
 * @date 2025-03-09
 */
public class SysReusme extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /** 自我介绍 */
    @Excel(name = "自我介绍")
    private String selfIntroduction;

    /** 工作技能 */
    @Excel(name = "工作技能")
    private String workSkills;

    /** 学历 */
    @Excel(name = "学历")
    private String educationalBackground;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long userAge;

    /** 用户性别 */
    @Excel(name = "用户性别")
    private Long userSex;

    /** 简历 */
    @Excel(name = "简历")
    private String resume;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setSelfIntroduction(String selfIntroduction) 
    {
        this.selfIntroduction = selfIntroduction;
    }

    public String getSelfIntroduction() 
    {
        return selfIntroduction;
    }

    public void setWorkSkills(String workSkills) 
    {
        this.workSkills = workSkills;
    }

    public String getWorkSkills() 
    {
        return workSkills;
    }

    public void setEducationalBackground(String educationalBackground) 
    {
        this.educationalBackground = educationalBackground;
    }

    public String getEducationalBackground() 
    {
        return educationalBackground;
    }

    public void setUserAge(Long userAge) 
    {
        this.userAge = userAge;
    }

    public Long getUserAge() 
    {
        return userAge;
    }

    public void setUserSex(Long userSex) 
    {
        this.userSex = userSex;
    }

    public Long getUserSex() 
    {
        return userSex;
    }

    public void setResume(String resume) 
    {
        this.resume = resume;
    }

    public String getResume() 
    {
        return resume;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("selfIntroduction", getSelfIntroduction())
            .append("workSkills", getWorkSkills())
            .append("educationalBackground", getEducationalBackground())
            .append("userAge", getUserAge())
            .append("userSex", getUserSex())
            .append("resume", getResume())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
